package com.dzl.exchange.service;

import com.dzl.exchange.pojo.WelfareExchangeMeal;
import com.dzl.base.service.BaseService;

import java.util.List;

/**
 * 兑换券组关联套餐表(WelfareExchangeMealGroup)表服务接口
 * @author caobucao
 * @date 2021-07-09 17:29:26
 */
public interface WelfareExchangeMealService extends BaseService<WelfareExchangeMeal> {

    /**
     * 通过套餐ids查询套餐信息
     * @date 2021/8/4 15:27
     * @author caobucao
     * @param idsList 套餐idList
     * @return java.util.List<com.dzl.exchange.pojo.WelfareExchangeMeal>
     */
    List<WelfareExchangeMeal> selectByIds(List<Integer> idsList);

    /**
     * 通过兑换券组id删除该兑换券组的套餐信息---逻辑删除
     * @date 2021/8/7 9:28
     * @author caobucao
     * @param exchangeGroupId 兑换券组id
     * @return java.lang.Integer
     */
    Integer deleteByExchangeGroupId(Integer exchangeGroupId);

}
